package cn.wolfcode.qo;

import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.util.StringUtils;

import java.util.Date;

// 门店分页过滤查询的参数
@Setter
@Getter
public class AppointmentQueryObject extends QueryObject {

    private String ano;

    private String contactName;
    private String contactTel;

    private int status = -1;
    private int businessId = -1;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date beginDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date endDate;

}
